package com.vpx.server.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.vpx.server.bean.entity.CTypeRel;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Administrator
* @description 针对表【c_type_rel】的数据库操作Mapper
* @createDate 2023-11-18 15:37:22
* @Entity generator.domain.CTypeRel
*/
@Mapper
public interface CTypeRelMapper extends BaseMapper<CTypeRel> {
@Select("select * from c_type_rel")
    List<CTypeRel> selectAll();
@Insert("insert into c_type_rel(id,transaction_id,type_id,create_time,code) values (#{id},#{transactionId},#{typeId},#{createTime},#{code})")
    void add(CTypeRel c);
}




